home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / magic_ba.swf / scripts / DefineSprite_98 / frame_2 / DoAction.as
Text File  |  2010-11-09  |  310b  |  18 lines

  1. if(275 < getProperty(_root.roof, _Y))
  2. {
  3.    _root.dif -= 1;
  4. }
  5. testforover = 1;
  6. while(testforover < _root.totalballs)
  7. {
  8.    if(325 < getProperty("_root.ball" add testforover, _Y))
  9.    {
  10.       tellTarget("../")
  11.       {
  12.          gotoAndStop("bad");
  13.          play();
  14.       }
  15.    }
  16.    testforover++;
  17. }
  18.